package com.luomo.java.spring.circulardepend;

/**
 * @author LiuMei
 * @date 2021-04-20.
 */
public class ClientCode {

    public static void main(String[] args) {
//        A a = new A();
//        B b = new B();
//        b.setA(a);
//        a.setB(b);
//        ApplicationContext context = new AnnotationConfigApplicationContext(BeanConfig.class);
//        A a1 = context.getBean(A.class);
//        A a2 = context.getBean(A.class);
//        System.out.println(a1);
//        System.out.println(a2);
    }
}
